package mds.chenji.against.gameroom;

import org.bukkit.Location;

public class Boundary {
	private Location SouthEast;
	private Location SouthWest;
	private Location NorthEast;
	private Location NorthWest;
	private boolean open;

	public Boundary(Location SouthEast, Location SouthWest, Location NorthEast, Location NorthWest) {
		this.SouthEast = SouthEast;
		this.SouthWest = SouthWest;
		this.NorthEast = NorthEast;
		this.NorthWest = NorthWest;
		this.open = true;
	}

	public Boundary() {
		open = false;
	}

	public Location getSouthEast() {
		return this.SouthEast;
	}

	public Location getSouthWest() {
		return this.SouthWest;
	}

	public Location getNorthEast() {
		return this.NorthEast;
	}

	public Location getNorthWest() {
		return this.NorthWest;
	}

	public boolean open(){
		return this.open;
	}
}
